package cn.com.weather.nf.repository;

import java.util.Map;

public interface JdbcDao {

    /** 
     *  拿用户 Id 去获取 uid 
     * @param userId
     * @return
     */
    String getUserUid(Long userId);

    /**
     * 获取用户的得分记录
     * @param userUid
     * @param recordTable
     * @param recordId
     * @return
     */
    Long getUserScoreId(String userUid, String recordTable, Long recordId);

    /**
     * 
     * @param recordId
     * @return
     */
    String getRecordFormType(Long recordId);

    /**
     * 
     * @param scoreId
     * @param param
     */
    void updateRecordScore(Long scoreId, Map<String, Object> param);

    /**
     * 
     * @param param
     */
    void insertRecordScore(Map<String, Object> param);

}
